package com.candy.shoporder.service.impl;

import com.candy.entity.Order;
import com.candy.shoporder.dao.OrderMapper;
import com.candy.shoporder.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {
    @Autowired
    OrderMapper orderMapper;
    @Override
    public void addOrder(Order order) {
        orderMapper.insertSelective(order);

    }
}
